package org.or5e.oss.ws.datatypes.mail;

import java.io.Serializable;
import java.util.Calendar;
import java.util.Set;

public class MailMessage implements Serializable {
	private static final long serialVersionUID = -5956895461463829868L;
	
	public enum MAIL_PRIORITY {HIGH, MEDIUM, LOW};
	public String fromAddress = null;
	public Set<String> toAddresses = null;
	public String mailContent = null;
	public String subject = null;
	public String toAddress = null;
	public MAIL_PRIORITY priority = null;
	public Calendar scheduleMail = null;

	/**
	 * @return the fromAddress
	 */
	public final String getFromAddress() {
		return fromAddress;
	}
	/**
	 * @param fromAddress the fromAddress to set
	 */
	public final void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}
	/**
	 * @return the toAddresses
	 */
	public final Set<String> getToAddresses() {
		return toAddresses;
	}
	/**
	 * @param toAddresses the toAddresses to set
	 */
	public final void setToAddresses(Set<String> toAddresses) {
		this.toAddresses = toAddresses;
	}
	/**
	 * @return the mailContent
	 */
	public final String getMailContent() {
		return mailContent;
	}
	/**
	 * @param mailContent the mailContent to set
	 */
	public final void setMailContent(String mailContent) {
		this.mailContent = mailContent;
	}
	/**
	 * @return the toAddress
	 */
	public final String getToAddress() {
		return toAddress;
	}
	/**
	 * @param toAddress the toAddress to set
	 */
	public final void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}
	/**
	 * @return the priority
	 */
	public final MAIL_PRIORITY getPriority() {
		return priority;
	}
	/**
	 * @param priority the priority to set
	 */
	public final void setPriority(MAIL_PRIORITY priority) {
		this.priority = priority;
	}
	/**
	 * @return the scheduleMail
	 */
	public final Calendar getScheduleMail() {
		return scheduleMail;
	}
	/**
	 * @param scheduleMail the scheduleMail to set
	 */
	public final void setScheduleMail(Calendar scheduleMail) {
		this.scheduleMail = scheduleMail;
	}
	/**
	 * @return the subject
	 */
	public final String getSubject() {
		return subject;
	}
	/**
	 * @param subject the subject to set
	 */
	public final void setSubject(String subject) {
		this.subject = subject;
	}
	
}